<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1-20130512"/>
<title>3D Cell: Vertex3 Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">3D Cell
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1-20130512 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_vertex3-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Vertex3 Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A <a class="el" href="class_vertex3.html" title="A Vertex3 class. ">Vertex3</a> class.  
 <a href="class_vertex3.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="csg__type_8h_source.html">csg_type.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a76436502bf82862107c0303b5d7142a6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex3.html#a76436502bf82862107c0303b5d7142a6">Vertex3</a> (<a class="el" href="class_vector3.html">Vector3</a> _pos, <a class="el" href="class_vector3.html">Vector3</a> _normal)</td></tr>
<tr class="memdesc:a76436502bf82862107c0303b5d7142a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">A constructor.  <a href="#a76436502bf82862107c0303b5d7142a6">More...</a><br/></td></tr>
<tr class="separator:a76436502bf82862107c0303b5d7142a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91f92d043563a33d20fe623587ef26e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex3.html#a91f92d043563a33d20fe623587ef26e5">invert</a> ()</td></tr>
<tr class="memdesc:a91f92d043563a33d20fe623587ef26e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invert a vertex.  <a href="#a91f92d043563a33d20fe623587ef26e5">More...</a><br/></td></tr>
<tr class="separator:a91f92d043563a33d20fe623587ef26e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68e7aceed4ebd711711bbbb596d7a353"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vertex3.html">Vertex3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex3.html#a68e7aceed4ebd711711bbbb596d7a353">interpolate</a> (<a class="el" href="class_vertex3.html">Vertex3</a> a, double t)</td></tr>
<tr class="memdesc:a68e7aceed4ebd711711bbbb596d7a353"><td class="mdescLeft">&#160;</td><td class="mdescRight">Use Lerp to interpolate a vertex along a direction.  <a href="#a68e7aceed4ebd711711bbbb596d7a353">More...</a><br/></td></tr>
<tr class="separator:a68e7aceed4ebd711711bbbb596d7a353"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ae253ac94450df1b71e7b524e9eccbe8b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3.html">Vector3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex3.html#ae253ac94450df1b71e7b524e9eccbe8b">pos</a></td></tr>
<tr class="memdesc:ae253ac94450df1b71e7b524e9eccbe8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Position of the vertex.  <a href="#ae253ac94450df1b71e7b524e9eccbe8b">More...</a><br/></td></tr>
<tr class="separator:ae253ac94450df1b71e7b524e9eccbe8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed7483dfd4c6275c93cfa846c824d7bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3.html">Vector3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vertex3.html#aed7483dfd4c6275c93cfa846c824d7bc">normal</a></td></tr>
<tr class="memdesc:aed7483dfd4c6275c93cfa846c824d7bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Normal of the vertex.  <a href="#aed7483dfd4c6275c93cfa846c824d7bc">More...</a><br/></td></tr>
<tr class="separator:aed7483dfd4c6275c93cfa846c824d7bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A <a class="el" href="class_vertex3.html" title="A Vertex3 class. ">Vertex3</a> class. </p>
<p>It is class of vertex in 3D coordinate, contains a <a class="el" href="class_vector3.html" title="A Vector3 class. ">Vector3</a> position and a <a class="el" href="class_vector3.html" title="A Vector3 class. ">Vector3</a> normal. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a76436502bf82862107c0303b5d7142a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vertex3::Vertex3 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vector3.html">Vector3</a>&#160;</td>
          <td class="paramname"><em>_pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vector3.html">Vector3</a>&#160;</td>
          <td class="paramname"><em>_normal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">_pos</td><td>position value. </td></tr>
    <tr><td class="paramname">_normal</td><td>normal value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>return a <a class="el" href="class_vertex3.html" title="A Vertex3 class. ">Vertex3</a>. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a68e7aceed4ebd711711bbbb596d7a353"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vertex3.html">Vertex3</a> Vertex3::interpolate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vertex3.html">Vertex3</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>t</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Use Lerp to interpolate a vertex along a direction. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">a</td><td>the end vertex. </td></tr>
    <tr><td class="paramname">t</td><td>the parameter of the length from interpolation vertex to start vertex. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>return return the interpolation vertex. </dd></dl>

</div>
</div>
<a class="anchor" id="a91f92d043563a33d20fe623587ef26e5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Vertex3::invert </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Invert a vertex. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="aed7483dfd4c6275c93cfa846c824d7bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vector3.html">Vector3</a> Vertex3::normal</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Normal of the vertex. </p>

</div>
</div>
<a class="anchor" id="ae253ac94450df1b71e7b524e9eccbe8b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vector3.html">Vector3</a> Vertex3::pos</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Position of the vertex. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="csg__type_8h_source.html">csg_type.h</a></li>
<li><a class="el" href="csg__type_8cpp.html">csg_type.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Jul 9 2013 15:49:58 for 3D Cell by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1-20130512
</small></address>
</body>
</html>
